package com.joint.base.util;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by IntelliJ IDEA.
 * User: xuzhou
 * Date: 2015/4/3
 * Time: 20:51
 * 实体类字段注解
 */
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface FieldName {
    /**
     * 输出字段的中文名称 如 name:名称  address:地址
     *
     * @return
     */
    String name() default "";
}
